﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for BasePage
/// </summary>
public class BasePage : System.Web.UI.Page
{
    public tblCustomer LoginedMember 
    {
        get 
        {
            if (Session["LoginedMember"]!=null)
                return (tblCustomer)Session["LoginedMember"];
            return new tblCustomer();
        }
        set
        {
            Session["LoginedMember"] = value;
        }
    }

    public bool isLogin()
    {
        if (Session["LoginedMember"] != null)
            return true;
        return false;
    }

	public BasePage()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public void login()
    {

    }

}